package mqs

import (
	"context"
	"go-weixin/app/mqueue/tasks/internal/config"
	"go-weixin/app/mqueue/tasks/internal/svc"

	// "github.com/zeromicro/go-queue/dq"
	"github.com/zeromicro/go-queue/kq"
	"github.com/zeromicro/go-zero/core/service"
)

func Consumers(c config.Config, ctx context.Context, svcContext *svc.ServiceContext) []service.Service {

	return []service.Service{
		// 异步队列
		kq.MustNewQueue(c.KqConsumerConf, NewMyKQConsume(ctx, svcContext)),

		// 延时队列
		// NewDqConsumer(ctx, svcContext),
	}

}
